// 模拟课程数据
export const mockCourses = [
  {
    id: '1',
    title: 'React 完全指南',
    description: '从零开始学习 React 开发',
    instructor: 'John Doe',
    duration: '10小时',
    coverImage: 'https://img.alicdn.com/i1/2145487409/O1CN01RkAibP24bN6EWcKj6_!!0-item_pic.jpg',
    rating: 4.5,
    price: 199,
    enrollments: 1200,
    category: '编程开发',
    createTime: '2024-03-01',
    tags: ['前端', 'React', 'Web开发'],
    chapters: [
      {
        id: '1-1',
        title: '第1章：React 基础概念',
        type: 'video',
        duration: 1800, // 30分钟
        videoUrl: 'https://example.com/videos/react-basics.mp4',
        description: '学习 React 的核心概念和基本用法'
      },
      {
        id: '1-2',
        title: '第2章：组件化开发',
        type: 'video',
        duration: 2400, // 40分钟
        videoUrl: 'https://example.com/videos/react-components.mp4',
        description: '深入理解 React 组件开发'
      }
    ]
  },
  {
    id: '2',
    title: 'Node.js 实战课程',
    description: '服务端开发进阶教程',
    instructor: 'Jane Smith',
    duration: '12小时',
    coverImage: 'https://ts1.tc.mm.bing.net/th/id/OIP-C.fALFa0X35BsufgX0xLl7_gHaHa?w=203&h=211&c=8&rs=1&qlt=90&o=6&dpr=1.3&pid=3.1&rm=2',
    rating: 4.8,
    price: 299,
    enrollments: 800,
    category: '编程开发',
    createTime: '2024-02-15',
    tags: ['后端', 'Node.js', '服务器'],
    chapters: [
      {
        id: '2-1',
        title: '第1章：Node.js 入门',
        type: 'video',
        duration: 1500, // 25分钟
        videoUrl: 'https://example.com/videos/nodejs-intro.mp4',
        description: 'Node.js 基础知识讲解'
      },
      {
        id: '2-2',
        title: '第2章：Express 框架',
        type: 'text',
        content: '详细介绍 Express 框架的使用...',
        description: '学习使用 Express 构建 Web 应用'
      }
    ]
  },
  {
    id: 3,
    title: '前端工程化实践',
    description: '现代前端开发工具链与最佳实践',
    instructor: 'Mike Johnson',
    duration: '8小时',
    coverImage: 'https://ts2.tc.mm.bing.net/th/id/OIP-C.ZKrFklkRkjGJ9a-IJB8XigHaHa?w=250&h=250&c=8&rs=1&qlt=90&o=6&dpr=1.3&pid=3.1&rm=2',
    rating: 4.6,
    price: 399,
    enrollments: 500,
    category: '编程开发',
    createTime: '2024-03-10',
    tags: ['前端', 'webpack', '工程化']
  },
  {
    id: 4,
    title: '英语口语进阶',
    description: '提升英语口语能力的实用课程',
    instructor: 'Sarah Wilson',
    duration: '15小时',
    coverImage: 'https://tse4-mm.cn.bing.net/th/id/OIP-C.BE6LJRNx_koDehB_239bHQHaHa?w=197&h=197&c=7&r=0&o=5&dpr=1.3&pid=1.7',
    rating: 4.7,
    price: 259,
    enrollments: 2000,
    category: '语言学习',
    createTime: '2024-03-05',
    tags: ['英语', '口语', '语言']
  },
  {
    id: 5,
    title: '日语N2备考',
    description: 'JLPT N2考试全程备考指导',
    instructor: 'Tanaka Yuki',
    duration: '20小时',
    coverImage: 'https://tse4-mm.cn.bing.net/th/id/OIP-C.fn9F0Aog6RbS_BdPK9EevwHaHa?w=194&h=194&c=7&r=0&o=5&dpr=1.3&pid=1.7',
    rating: 4.9,
    price: 499,
    enrollments: 1500,
    category: '语言学习',
    createTime: '2024-02-20',
    tags: ['日语', 'JLPT', '考试']
  },
  {
    id: 6,
    title: '数字插画基础',
    description: '从零开始学习数字插画创作',
    instructor: 'Lisa Chen',
    duration: '16小时',
    coverImage: 'https://tse1-mm.cn.bing.net/th/id/OIP-C.iRmglLFsdkSUAfs99K7-ogHaHa?w=146&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7',
    rating: 4.8,
    price: 359,
    enrollments: 1200,
    category: '艺术设计',
    createTime: '2024-03-15',
    tags: ['插画', '设计', '艺术']
  }
]; 